package Carddemo;

import java.util.List;

public class Test {
    public static void main(String[] args){
       Carddemo carddemo = new Carddemo();
       List<Card> ret = carddemo.BuyDeskCard();
       System.out.println(ret);
       System.out.println("洗牌!");
       carddemo.shuffle(ret);
       System.out.println(ret);
       System.out.println("揭牌!");
       List<List<Card>> ret2 = carddemo.test(ret);
        for (int i = 0; i < ret2.size(); i++) {
            System.out.println("第"+i+"个人的牌: "+ret2.get(i));
        }
        System.out.println("剩余的牌为: ");
        System.out.println(ret);
    }
}
